import 'package:cbec_app/generated/json/base/json_field.dart';
import 'package:cbec_app/generated/json/notice_model_entity.g.dart';
import 'dart:convert';
export 'package:cbec_app/generated/json/notice_model_entity.g.dart';

@JsonSerializable()
class NoticeModelEntity {
  int? id = 0;
  String? title = '';
  String? content = '';
  String? pushTime = '';
  dynamic cd;
  dynamic status;

  NoticeModelEntity();

  factory NoticeModelEntity.fromJson(Map<String, dynamic> json) => $NoticeModelEntityFromJson(json);

  Map<String, dynamic> toJson() => $NoticeModelEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
